package com.chinacoal.microservice.service;

import com.chinacoal.microservice.util.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 微信-后端实现接口类
 * @date 2020-12-21 10：05
 */
public interface WechatService {

    Result<String> usernamePasswordLogin(String userName, String passWord);

    Result verificationCode(String phoneNumber, Integer type);

    Result<String> verificationCodeLogin(String phoneNumber, int verificationCode);

    Result getOpenId(String code, String token);

    Result addOpenId(String openId, String token);
}
